//
//  LongerRentalAddAPI.m
//  StarOrangeStaff
//
//  Created by lshenrong on 2020/7/13.
//  Copyright © 2020 lshenrong. All rights reserved.
//

#import "LongerRentalDetailAPI.h"

@interface LongerRentalDetailAPI()

@property (nonatomic,copy) NSString *carLrId;

@end

@implementation LongerRentalDetailAPI

- (instancetype)initWithCarLrId:(NSString *)carLrId {
    if (self = [super init]) {
        self.carLrId = carLrId;
        [self testDataAPI];
       
    }
    return self;
}

- (void)testDataAPI {
    self.carLrId = @"2";
}

- (NSString *)requestUrl {
    return @"message/car/queryLongRent";
}



- (id)requestAppendArgument{
    
    AvoidNullString(self.carLrId);
    return @{
                @"lrId":self.carLrId,
            };
}


@end
